package org.seler.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtil {
	
	private static SimpleDateFormat dateFormatter = new SimpleDateFormat("dd/MM/yyyy");
	
	
    public static String convertDateToString(Date inputDate) {
        // Method converts java.util.Date to String format
        String dateString = new String();
        if (inputDate != null) {
          if (!inputDate.equals(new Date(0))) {
            dateString = dateFormatter.format(inputDate);
          }
        }
        
        return dateString;
      }
    
}
